import request from '@/utils/request'

// 查询项目涉及领域
export function listProjectCatory(query) {

    let r = {};

    r.data = [
        {label:'市政',children:[]},
        {label:'房建',children:[]},
        {label:'公路',children:[]},
        {label:'桥梁',children:[]},
        {label:'航道',children:[]},
        {label:'水利设施',children:[]},
        {label:'林业生态',children:[]},
        {label:'自然资源监测管护',children:[]},
        {label:'生态修复',children:[]},
        {label:'国土整治',children:[]},
        {label:'地灾防治',children:[]},
        {label:'环境监测',children:[]},
        {label:'污染治理',children:[]},
        {label:'高标准农田',children:[]},
        {label:'村庄治理',children:[]},
        {label:'渔业设施',children:[]},
        {label:'文物保护修复',children:[]},
        {label:'智慧城市',children:[]},
        {label:'信息化',children:[]}
];
    return r;
//   return request({
//     url: '/system/dept/list',
//     method: 'get',
//     params: query
//   })
}


export function listProjectXmjysInfos(query){
    let r = {};
    r.rows = [
        {
            'projectId':'p01',
            'projectName':'xxx项目',
            'projectCode':'xz00001',
            'location':'',
            'money':'',
            'unilateral':'',
            'setYear':'',
            'xzqh':'',
            'status':'20',
            'regDate':''
        }
    ];
    r.total = 1;
    return r;
}


export function getProject(){
    let r = {};

    return r;
}
